package com.czxy.enterprise.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.czxy.domain.TbEnterprise;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czxy.vo.EnterpriseVo;

import java.util.List;

/**
 * <p>
 * 企业表 服务类
 * </p>
 *
 * @author xuewen
 * @since 2022-01-13
 */
public interface EnterpriseService extends IService<TbEnterprise> {

    TbEnterprise findById(Integer id);

    List<TbEnterprise> findByUserId(Integer id,Integer state);

    Page findEnterpriseByState(EnterpriseVo enterpriseVo);

    void ban(Integer id);

    Page condition(EnterpriseVo enterpriseVo);
}
